import {fetch} from './request'
/**
 * 获取创建者列表
 * params {code:'微信授权code'}
 */
export let getCreatorList = ()=>{
  return fetch({
    url:"/scenes/creator/list",
    method:'get'
  })
}

/**
 * 获取私人助理列表
 * */ 
export let getAssistantList = ()=>{
  return fetch({
    url:"/scenes/assistant/list",
    method:'get'
  })
}

/**
 * 获取场景数据请求数据
 * */ 
export let getSecneWorkData = (data)=>{
  return fetch({
    url:`/scenes/${data.secneId}/doWork`,
    method:'post',
    data
  })
}